//
//  Camera.h
//  OpenGL StarShip
//
//  Created by Tariqul Islam on 5/31/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#ifndef OpenGL_StarShip_Camera_h
#define OpenGL_StarShip_Camera_h

#include "Vector3d.h"

class Camera{
private:
    Vector3d position;
    Vector3d along;
    Vector3d up;
    Vector3d forward;
    //Vector look;
    bool locked;
    void rotateTolook();
public:
    Camera();
    Vector3d getPosition();
    void reset();
    void update();
    void pitch(float theta);
    void yaw(float theta);
    void roll(float theta);
    void walk(float delta);
    void fly(float delta);
    void strafe(float delta);
    void lookAt(float x,float y,float z);
    void lockEnabled(bool b);
    
};


#endif
